home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Disc to the Future 2
/
Disc to the Future Part II Programmer's Reference (Wayzata Technology)(6013)(1992).bin
/
MAC
/
MPW_TOOL
/
TOOLS
/
TOOLS_WI
/
BYACC__
/
MAKEFILE.UNI
< prev
next >
Wrap
Text File
|
1989-11-19
|
3KB
|
126 lines
DEST = .
HDRS = action.h \
defs.h \
dep.h \
files.h \
gram.h \
new.h \
state.h \
symtab.h \
text.h \
tokens.h
LDFLAGS =
LIBS =
LINKER = cc
MAKEFILE = Makefile
OBJS = closure.o \
conflicts.o \
derives.o \
error.o \
files.o \
genstates.o \
gram.o \
lalr.o \
main.o \
mkpar.o \
new.o \
nullable.o \
optim.o \
output.o \
print.o \
reader.o \
symtab.o \
text.o \
warshall.o \
yylex.o
PRINT = pr
PROGRAM = byacc
SRCS = closure.c \
conflicts.c \
derives.c \
error.c \
files.c \
genstates.c \
gram.c \
lalr.c \
main.c \
mkpar.c \
new.c \
nullable.c \
optim.c \
output.c \
print.c \
reader.c \
symtab.c \
text.c \
warshall.c \
yylex.c
all: $(PROGRAM)
$(PROGRAM): $(OBJS) $(LIBS)
@echo -n "Loading $(PROGRAM) ... "
@$(LINKER) $(LDFLAGS) $(OBJS) $(LIBS) -o $(PROGRAM)
@echo "done"
clean:; @rm -f $(OBJS)
depend:; @mkmf -f $(MAKEFILE) PROGRAM=$(PROGRAM) DEST=$(DEST)
index:; @ctags -wx $(HDRS) $(SRCS)
install: $(PROGRAM)
@echo Installing $(PROGRAM) in $(DEST)
@install -s $(PROGRAM) $(DEST)
listing:; @$(PRINT) Makefile $(HDRS) $(SRCS) byaccpar | lpr
lint:; @lint $(SRCS)
program: $(PROGRAM)
tags: $(HDRS) $(SRCS); @ctags $(HDRS) $(SRCS)
update: $(DEST)/$(PROGRAM)
$(DEST)/$(PROGRAM): $(SRCS) $(LIBS) $(HDRS)
@make -f $(MAKEFILE) DEST=$(DEST) install
###
closure.o: /usr/include/stdio.h defs.h dep.h new.h gram.h
conflicts.o: /usr/include/stdio.h defs.h dep.h new.h files.h gram.h state.h
derives.o: /usr/include/stdio.h defs.h new.h gram.h
error.o: /usr/include/stdio.h /usr/include/signal.h \
/usr/include/machine/trap.h defs.h files.h text.h symtab.h
files.o: /usr/include/stdio.h files.h new.h
genstates.o: /usr/include/stdio.h defs.h dep.h new.h gram.h state.h
getargs.o: /usr/include/stdio.h defs.h files.h
lalr.o: /usr/include/stdio.h defs.h dep.h gram.h new.h state.h
main.o: /usr/include/stdio.h /usr/include/signal.h \
/usr/include/machine/trap.h dep.h files.h state.h symtab.h tokens.h \
text.h
mkpar.o: /usr/include/stdio.h action.h defs.h dep.h files.h gram.h new.h \
state.h tokens.h text.h symtab.h
new.o: defs.h
nullable.o: /usr/include/stdio.h gram.h new.h
optim.o: /usr/include/stdio.h defs.h dep.h gram.h new.h state.h
output.o: /usr/include/stdio.h action.h defs.h dep.h new.h files.h gram.h \
state.h
print.o: /usr/include/stdio.h action.h defs.h dep.h new.h files.h gram.h \
state.h
reader.o: /usr/include/stdio.h defs.h dep.h files.h gram.h new.h symtab.h \
text.h tokens.h
symtab.o: /usr/include/stdio.h defs.h new.h symtab.h tokens.h text.h
text.o: /usr/include/stdio.h files.h new.h text.h
warshall.o: dep.h
yylex.o: /usr/include/stdio.h defs.h dep.h files.h new.h symtab.h text.h \
tokens.h